package com.shed.demo.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "loginlog")
public class LoginLog implements Serializable {
	private static final long serialVersionUID = -8736339019250163984L;

	private Long logID;
	private Long userID;
	private String userName;
	private Date logTime;
	private String logIP;

	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column(name = "logID")
	public Long getLogID() {
		return logID;
	}

	public void setLogID(Long logID) {
		this.logID = logID;
	}

	@Column(name = "userID")
	public Long getUserID() {
		return userID;
	}

	public void setUserID(Long userID) {
		this.userID = userID;
	}

	@Column(name = "userName")
	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	@Column(name = "logTime")
	public Date getLogTime() {
		return logTime;
	}

	public void setLogTime(Date logTime) {
		this.logTime = logTime;
	}

	@Column(name = "logIP")
	public String getLogIP() {
		return logIP;
	}

	public void setLogIP(String logIP) {
		this.logIP = logIP;
	}
}
